<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页</title>
    <link rel="stylesheet" href="./default.css">
    <style>
        input{
            position: absolute;
            width: 300px;
            height: 40px;
            padding: 10px;
            letter-spacing: 2px;
            box-sizing: border-box;
            border-radius: 20px;
            background: linear-gradient(135deg, #ccc 30%, #333 100%);
        }
        input:nth-of-type(1){
            top: 90px;
        }
        input:nth-of-type(2){
            top: 150px;
        }
        input:nth-of-type(3){
            bottom: 50%;
            transform: translateY(50%);
        }
        a{
            position: absolute;
            width: 150px;
            top: 200px;
            /* 我也不知道为什么left是在右边 */
            left: 20px;
        }
    </style>
</head>
<body>
    <div class="box">
        <h1>登录页</h1>
        <form action="./index.html" method="get">
            <input type="text" name="username" value=":·." placeholder="请输入用户名">
            <input type="password" name="pwd" value=":·." placeholder="请输入密码">
            <a href="./error.html">Forget Password?</a>
            <input type="submit" value="GET提交">
        </form>
    </div>
</body>
</html>